package com.syni.mdd.yhd.common.all.service;

import com.syni.mdd.yhd.common.all.dao.jpa.BmsBusinessFlowDao;
import com.syni.mdd.yhd.common.all.entity.BmsBusinessFlow;
import com.syni.mdd.sjb.common.component.utils.common.utils.ParamsMap;

import java.util.Map;

/**
 * @className BmsDxGroupBuyUseService
 * @description TOO
 * @Author cfx
 * @DATE 2019/7/30 10:58
 * @VERSION 1.0
 **/
public interface BmsBusinessFlowService {
    String DOWN_URL = "https://openapi.esign.cn/v1/signflows/%s/documents";

    BmsBusinessFlowDao getBaseDao();

    Map<String, Object> getToken(ParamsMap paramsMap);

    Map<String, Object> save(ParamsMap paramsMap);

    BmsBusinessFlow getBusinessFlowData(Integer id);

    Map<String, Object> getLastPdf(ParamsMap paramsMap);
}
